﻿<%@ WebHandler Language="C#" Class="test" %>

using System;
using System.Web;

public class test : IHttpHandler
{

    public void ProcessRequest(HttpContext context)
    {
        context.Response.ContentType = "javascript/json";

        context.Response.Clear();
        string value = GetResult();
        context.Response.Write(value);
        context.Response.End();
    }


    private string GetResult()
    {
        string result = string.Empty;

        result = @"
             [{""id"":""1"",""Name"":""1374123""},
             {""id"":""2"",""Name"":""1374133""},
             {""id"":""3"",""Name"":""1374143""},
             {""id"":""4"",""Name"":""1374153""},
             {""id"":""5"",""Name"":""1374163""},
             {""id"":""6"",""Name"":""1374173""},
             {""id"":""7"",""Name"":""1374183""},
             {""id"":""8"",""Name"":""1374193""},
             {""id"":""9"",""Name"":""1374213""},
             {""id"":""10"",""Name"":""1374223""},
             {""id"":""11"",""Name"":""1374233""},
             {""id"":""12"",""Name"":""1374243""},
             {""id"":""13"",""Name"":""1374253""},
             {""id"":""14"",""Name"":""1374263""},
             {""id"":""15"",""Name"":""1374273""},
             {""id"":""16"",""Name"":""1374283""},
             {""id"":""17"",""Name"":""1374293""},
             {""id"":""18"",""Name"":""1374313""},
             {""id"":""19"",""Name"":""1374323""},
             {""id"":""20"",""Name"":""1374333""},
             {""id"":""21"",""Name"":""1374343""},
             {""id"":""22"",""Name"":""1374353""},
             {""id"":""23"",""Name"":""1374363""},
             {""id"":""24"",""Name"":""1374373""},
             {""id"":""25"",""Name"":""1374383""},
             {""id"":""26"",""Name"":""1374393""},
             {""id"":""27"",""Name"":""1374403""},
             {""id"":""28"",""Name"":""1374413""},
             {""id"":""29"",""Name"":""1374423""},
             {""id"":""30"",""Name"":""1374433""},
             {""id"":""31"",""Name"":""1374443""},
             {""id"":""32"",""Name"":""1374453""},
             {""id"":""33"",""Name"":""1374463""},
             {""id"":""34"",""Name"":""1374473""},
             {""id"":""35"",""Name"":""1374483""},
             {""id"":""36"",""Name"":""1374493""}]";

        return result;
    }

    public bool IsReusable
    {
        get
        {
            return false;
        }
    }

}